package com.yxw.yxnet_cd_center.gateway.common;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xxx
 * @Date: 2019/8/17 17:14
 * 需要权限校验的url集合
 */
@Configuration
public class UrlPermissionList implements InitializingBean {
    private final static List<String> URL_LIST = new ArrayList<String>();

    @Override
    public void afterPropertiesSet() {

//        URL_LIST.add("/shop-product/product-info/v1/app/add");//app新增商品
    }

    public static List<String> getUrlList() {
        return URL_LIST;
    }
}

